feat: ease-split-text — Per-letter staggered entrance animation#877
Open
AjayBandiwaddar wants to merge 4 commits into
Open
feat: ease-split-text — Per-letter staggered entrance animation#877AjayBandiwaddar wants to merge 4 commits into
ease-split-text — Per-letter staggered entrance animation#877AjayBandiwaddar wants to merge 4 commits into
Conversation
added 4 commits
June 2, 2026 06:32
ease-split-text — Per-letter staggered entrance animation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Adds
ease-split-text— a pure CSS per-letter staggered entrance animation utility. Closes #[GAP4 issue number].Each letter animates as an independent unit using
nth-childstaggeredanimation-delayon individual<span>wrappers — zero JavaScript. Three variants included: fade-only, slide-up, and fade+blur. Both the fade and slide variants reuseease-kf-fade-inandease-kf-slide-upalready defined incore/animations.css— zero new keyframes added to core.Type of Change
Submission Checklist
submissions/examples/ease-split-text/demo.html— self-contained, opens in browser with no serverstyle.css— raw CSS for the proposed featureREADME.md— what it does, how to use it, why it fits EaseMotion CSScore/components/Feature Description
What does this add?
A pure CSS per-letter staggered entrance animation with three variants (fade, slide-up, fade+blur), three speed presets (fast/default/slow), and full
prefers-reduced-motionsupport — covering up to 30 characters vianth-childdelay table.How does a developer use it?
Why does it fit EaseMotion CSS?
EaseMotion CSS animates at two levels — block elements (
staggered-reveal,staggered-fade-entrance) and whole strings (ease-typewriter). Per-character animation is the missing layer between them:ease-typewriterwidth: 0ch → Nchclippingstaggered-revealnth-childdelay on blocksease-split-textnth-childdelay on inline spansThe implementation follows EaseMotion's core philosophy exactly:
ease-kf-fade-in; slide variant usesease-kf-slide-up— both already incore/animations.css. Zero new keyframes added to core--split-delay-step,--split-rise,--split-duration,--split-easeare all overridable CSS variables.ease-split-text-slideis immediately self-explanatoryprefers-reduced-motionsafe — all letters rendered instantly withopacity: 1— text is never hidden from users who need reduced motionDemo
demo.htmlworks by opening directly in a browser)The demo covers 6 sections:
ease-typewriterandstaggered-revealBrowser Testing
Notes for Maintainer
.split-text,.split-text-slide,.split-text-blur,.split-text-fast,.split-text-slow,.split-space— please rename toease-split-text-*on integrationease-kf-fade-inandease-kf-slide-upby name — when integrating into core these will work directly since both keyframes already existnth-childstagger table covers positions 1–30 usingcalc(var(--split-delay-step) * N)— a single token change updates the entire stagger sequenceprefers-reduced-motionblock setsopacity: 1 !importantandanimation: none !importanton all letter spans — text is never invisible to users who need reduced motion, not just slowed downstaggered-revealstaggers block elements;ease-typewriterreveals a string via width clipping — both are fundamentally different techniques with different visual results